package com.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.food.configure.Result;
import com.food.entity.Food;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2021-04-04
 */
public interface FoodService extends IService<Food> {

    Result<Food> updateFood(Food food);

    Result<Food> delFood(Food food);

    Result<Food> batchDelFood(Food food);

    Result<Food> queryFood(Food food);

    Result<Food> queryFoodByPage(Food food);

    Result<Food> queryFoodById(Food food);

}
